Optimal. Leaf size=91 \[ \frac {\tanh (e+f x) \sqrt {a \cosh ^2(e+f x)}}{f}-\frac {\text {csch}^3(e+f x) \text {sech}(e+f x) \sqrt {a \cosh ^2(e+f x)}}{3 f}-\frac {2 \text {csch}(e+f x) \text {sech}(e+f x) \sqrt {a \cosh ^2(e+f x)}}{f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.12, antiderivative size = 91, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.160, Rules used = {3176, 3207, 2590, 270} \[ \frac {\tanh (e+f x) \sqrt {a \cosh ^2(e+f x)}}{f}-\frac {\text {csch}^3(e+f x) \text {sech}(e+f x) \sqrt {a \cosh ^2(e+f x)}}{3 f}-\frac {2 \text {csch}(e+f x) \text {sech}(e+f x) \sqrt {a \cosh ^2(e+f x)}}{f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 270
Rule 2590
Rule 3176
Rule 3207
Rubi steps
\begin {align*} \int \coth ^4(e+f x) \sqrt {a+a \sinh ^2(e+f x)} \, dx &=\int \sqrt {a \cosh ^2(e+f x)} \coth ^4(e+f x) \, dx\\ &=\left (\sqrt {a \cosh ^2(e+f x)} \text {sech}(e+f x)\right ) \int \cosh (e+f x) \coth ^4(e+f x) \, dx\\ &=\frac {\left (i \sqrt {a \cosh ^2(e+f x)} \text {sech}(e+f x)\right ) \operatorname {Subst}\left (\int \frac {\left (1-x^2\right )^2}{x^4} \, dx,x,-i \sinh (e+f x)\right )}{f}\\ &=\frac {\left (i \sqrt {a \cosh ^2(e+f x)} \text {sech}(e+f x)\right ) \operatorname {Subst}\left (\int \left (1+\frac {1}{x^4}-\frac {2}{x^2}\right ) \, dx,x,-i \sinh (e+f x)\right )}{f}\\ &=-\frac {2 \sqrt {a \cosh ^2(e+f x)} \text {csch}(e+f x) \text {sech}(e+f x)}{f}-\frac {\sqrt {a \cosh ^2(e+f x)} \text {csch}^3(e+f x) \text {sech}(e+f x)}{3 f}+\frac {\sqrt {a \cosh ^2(e+f x)} \tanh (e+f x)}{f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.08, size = 47, normalized size = 0.52 \[ -\frac {\tanh (e+f x) \left (\text {csch}^4(e+f x)+6 \text {csch}^2(e+f x)-3\right ) \sqrt {a \cosh ^2(e+f x)}}{3 f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.68, size = 885, normalized size = 9.73 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.17, size = 80, normalized size = 0.88 \[ -\frac {\sqrt {a} {\left (\frac {8 \, {\left (3 \, e^{\left (5 \, f x + 5 \, e\right )} - 4 \, e^{\left (3 \, f x + 3 \, e\right )} + 3 \, e^{\left (f x + e\right )}\right )}}{{\left (e^{\left (2 \, f x + 2 \, e\right )} - 1\right )}^{3}} - 3 \, e^{\left (f x + e\right )} + 3 \, e^{\left (-f x - e\right )}\right )}}{6 \, f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.20, size = 55, normalized size = 0.60 \[ \frac {\cosh \left (f x +e \right ) a \left (3 \left (\sinh ^{4}\left (f x +e \right )\right )-6 \left (\sinh ^{2}\left (f x +e \right )\right )-1\right )}{3 \sinh \left (f x +e \right )^{3} \sqrt {a \left (\cosh ^{2}\left (f x +e \right )\right )}\, f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 1.11, size = 487, normalized size = 5.35 \[ -\frac {3 \, \sqrt {a} \log \left (e^{\left (-f x - e\right )} + 1\right ) - 3 \, \sqrt {a} \log \left (e^{\left (-f x - e\right )} - 1\right ) - \frac {2 \, {\left (9 \, \sqrt {a} e^{\left (-f x - e\right )} - 8 \, \sqrt {a} e^{\left (-3 \, f x - 3 \, e\right )} + 3 \, \sqrt {a} e^{\left (-5 \, f x - 5 \, e\right )}\right )}}{3 \, e^{\left (-2 \, f x - 2 \, e\right )} - 3 \, e^{\left (-4 \, f x - 4 \, e\right )} + e^{\left (-6 \, f x - 6 \, e\right )} - 1}}{12 \, f} + \frac {3 \, \sqrt {a} \log \left (e^{\left (-f x - e\right )} + 1\right ) - 3 \, \sqrt {a} \log \left (e^{\left (-f x - e\right )} - 1\right ) + \frac {2 \, {\left (3 \, \sqrt {a} e^{\left (-f x - e\right )} - 8 \, \sqrt {a} e^{\left (-3 \, f x - 3 \, e\right )} + 9 \, \sqrt {a} e^{\left (-5 \, f x - 5 \, e\right )}\right )}}{3 \, e^{\left (-2 \, f x - 2 \, e\right )} - 3 \, e^{\left (-4 \, f x - 4 \, e\right )} + e^{\left (-6 \, f x - 6 \, e\right )} - 1}}{12 \, f} + \frac {\sqrt {a} e^{\left (-3 \, f x - 3 \, e\right )}}{f {\left (3 \, e^{\left (-2 \, f x - 2 \, e\right )} - 3 \, e^{\left (-4 \, f x - 4 \, e\right )} + e^{\left (-6 \, f x - 6 \, e\right )} - 1\right )}} - \frac {33 \, \sqrt {a} e^{\left (-2 \, f x - 2 \, e\right )} - 40 \, \sqrt {a} e^{\left (-4 \, f x - 4 \, e\right )} + 15 \, \sqrt {a} e^{\left (-6 \, f x - 6 \, e\right )} - 6 \, \sqrt {a}}{12 \, f {\left (e^{\left (-f x - e\right )} - 3 \, e^{\left (-3 \, f x - 3 \, e\right )} + 3 \, e^{\left (-5 \, f x - 5 \, e\right )} - e^{\left (-7 \, f x - 7 \, e\right )}\right )}} + \frac {15 \, \sqrt {a} e^{\left (-f x - e\right )} - 40 \, \sqrt {a} e^{\left (-3 \, f x - 3 \, e\right )} + 33 \, \sqrt {a} e^{\left (-5 \, f x - 5 \, e\right )} - 6 \, \sqrt {a} e^{\left (-7 \, f x - 7 \, e\right )}}{12 \, f {\left (3 \, e^{\left (-2 \, f x - 2 \, e\right )} - 3 \, e^{\left (-4 \, f x - 4 \, e\right )} + e^{\left (-6 \, f x - 6 \, e\right )} - 1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.94, size = 281, normalized size = 3.09 \[ -\frac {\left (\frac {1}{f}-\frac {{\mathrm {e}}^{2\,e+2\,f\,x}}{f}\right )\,\sqrt {a+a\,{\left (\frac {{\mathrm {e}}^{e+f\,x}}{2}-\frac {{\mathrm {e}}^{-e-f\,x}}{2}\right )}^2}}{{\mathrm {e}}^{2\,e+2\,f\,x}+1}-\frac {8\,{\mathrm {e}}^{3\,e+3\,f\,x}\,\sqrt {a+a\,{\left (\frac {{\mathrm {e}}^{e+f\,x}}{2}-\frac {{\mathrm {e}}^{-e-f\,x}}{2}\right )}^2}}{f\,\left ({\mathrm {e}}^{2\,e+2\,f\,x}-1\right )\,\left ({\mathrm {e}}^{e+f\,x}+{\mathrm {e}}^{3\,e+3\,f\,x}\right )}-\frac {16\,{\mathrm {e}}^{3\,e+3\,f\,x}\,\sqrt {a+a\,{\left (\frac {{\mathrm {e}}^{e+f\,x}}{2}-\frac {{\mathrm {e}}^{-e-f\,x}}{2}\right )}^2}}{3\,f\,{\left ({\mathrm {e}}^{2\,e+2\,f\,x}-1\right )}^2\,\left ({\mathrm {e}}^{e+f\,x}+{\mathrm {e}}^{3\,e+3\,f\,x}\right )}-\frac {16\,{\mathrm {e}}^{3\,e+3\,f\,x}\,\sqrt {a+a\,{\left (\frac {{\mathrm {e}}^{e+f\,x}}{2}-\frac {{\mathrm {e}}^{-e-f\,x}}{2}\right )}^2}}{3\,f\,{\left ({\mathrm {e}}^{2\,e+2\,f\,x}-1\right )}^3\,\left ({\mathrm {e}}^{e+f\,x}+{\mathrm {e}}^{3\,e+3\,f\,x}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {a \left (\sinh ^{2}{\left (e + f x \right )} + 1\right )} \coth ^{4}{\left (e + f x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________